package GUI;

import Utils.ImageIconUtils;

import javax.swing.*;
import java.awt.*;


/**
 * The type Create panel.
 *
 * @author wyc, zry
 * @version 1.0
 */
public class CreatePanel {

    /**
     * Create west panel.
     *
     * @return the j panel
     */
    public static JPanel CreateWestPanel(){
        JPanel panel=new JPanel();
        panel.setLayout(null);
        panel.setPreferredSize(new Dimension(130,0));
        ImageIcon image= ImageIconUtils.getRawPicture("tag2.png");
        JLabel  background=new JLabel(image);

        background.setBounds(0, 0, 120, 120);

        panel.add(background);
        return panel;
    }
}